Skip to content

apply the crc target feature to the acle crc32 implementation#294

Merged
folkertdev merged 1 commit intomainfrom
acle-target-feature
Feb 18, 2025
Merged

apply the crc target feature to the acle crc32 implementation#294
folkertdev merged 1 commit intomainfrom
acle-target-feature

Conversation

@folkertdev
Copy link
Member

The target feature is required for inlining the intrinsics on aarch64-unknown-linux-gnu. For the apple targets it looks like the crc feature is on by default and therefore this change won't have any effect there.

I also removed support for arm, which was not hooked up (and I believe the related target features are unstable).

@codecov
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
zlib-rs/src/crc32.rs 95.74% <100.00%> (-0.18%) ⬇️
zlib-rs/src/crc32/acle.rs 95.74% <100.00%> (-0.32%) ⬇️

... and 1 file with indirect coverage changes

@folkertdev folkertdev marked this pull request as ready for review February 17, 2025 18:53
@folkertdev folkertdev requested a review from bjorn3 February 17, 2025 18:53
@folkertdev folkertdev merged commit 8e2a6af into main Feb 18, 2025
20 checks passed
@folkertdev folkertdev deleted the acle-target-feature branch February 18, 2025 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants